/**
 * @Description
 */

public class Test {

    public static void main(String[] args) {
        Person person1 = new Person("1234");
        Person person2 = new Person("1234");
        boolean ret = person1.equals(person2);

        System.out.println(person1==person2);//指向不同
        System.out.println(ret);

        System.out.println(person1.toString());
        System.out.println(person2.toString());
    }
}
